package com.aioz.security.service;

import com.aioz.security.common.ResponseResult;
import com.aioz.security.entity.Application;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aioz
 * @since 2022-09-28
 */
public interface ApplicationService extends IService<Application> {


    ResponseResult apply(Application application);

    ResponseResult getApplicationByHr(String name);

    ResponseResult getAllApplication();

    ResponseResult getOwn(Integer currentPage);

    ResponseResult refuseApplication(Integer applicationId);

    ResponseResult likeApplicationByUsername(String username, Integer companyId);

    ResponseResult getApplicationsByCompany(Integer companyId,Integer currentPage);
}
